<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="renderer" content="webkit">
    <title>后台管理中心</title>
    <link rel="stylesheet" href="__PUBLIC__/admin/css/pintuer.css">
    <link rel="stylesheet" href="__PUBLIC__/admin/css/admin.css">
    <block name="css"></block>
</head>
<body id="body-wrapper"  style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="__PUBLIC__/admin/images/y.jpg" class="radius-circle rotate-hover" height="50" alt=""/>后台管理中心</h1>
    </div>
    <div class="head-l">
        <!--<a class="button button-little bg-green" href="" target="_blank">-->
        <!--<span class="icon-home"></span>-->
        <!--前台首页</a> &nbsp;&nbsp;-->
        <!--<a href="##" class="button button-little bg-blue">-->
        <!--<span class="icon-wrench"></span>-->
        <!--清除缓存</a> &nbsp;&nbsp;-->
        <a class="button button-little bg-red" href="{:U('Member/logout')}"><span
                class="icon-power-off"></span> 退出登录</a></div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <volist name="__MENU__" id="menu">
        <h2 id="{$menu.url}"><span class="icon-user"></span>{$menu.name}</h2>
        <if condition="$menu.sub_menus neq null">
            <ul>
                <volist name="menu['sub_menus']" id="sub_menu">
                    <li>
                        <a href="{$sub_menu.url|U}" target="_self" id="{$sub_menu.url|remove_slash}">
                            <span class="icon-caret-right"></span>{$sub_menu.name}</a>
                    </li>
                </volist>
            </ul>
        </if>
    </volist>
</div>

<ul class="bread">
    <li><a href="{:U('Index/index')}" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
    <!--<li><b>当前语言：</b><span style="color:red;">中文</php></span>-->
    <!--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a></li>-->
</ul>
<div id="main-content" class="admin">
    <block name="content"></block>
    <!--<iframe scrolling="auto" rameborder="0" src="__MODULE__/Index/welcome" name="right" width="100%" height="100%"></iframe>-->
</div>

<script src="__PUBLIC__/admin/js/jquery.js"></script>
<script src="__PUBLIC__/admin/js/pintuer.js"></script>
<script type="text/javascript">
    $(function () {

        $(".leftnav h2").click(function () {
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function () {
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })

        var current_controller = '{$Think.CONTROLLER_NAME}';
        $('#' + current_controller).trigger('click');
        var current_url = '{$Think.CONTROLLER_NAME}{$Think.ACTION_NAME}';
        $('#' + current_url).trigger('click');
    });
</script>
<block name="js"></block>
</body>
</html>